package com.dhcc.sdc.cdss.dao;

import com.dhcc.sdc.cdss.dto.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
@Mapper
public interface CdssApiMapper {
    PatientInfo patientInfo(String episodeId);
    List<DiagnosisInfo> diagnosisInfos(String episodeId);
    List<OrderInfo> orderInfos(String episodeId);
    ProgressNote progressNote(String episodeId);
    List<ExamInfo> examInfos(String episodeId);
    List<LabInfo> labInfos(String episodeId);
    SignInfo signInfo(String episodeId);
    List<AllergyInfo> allergyInfos(String episodeId);
    List<BloodTransInfo> bloodTransInfos(String episodeId);
    List<RatingScaleInfo> ratingScoreInfos(String episodeId);
    List<OperationReportInfo> operationReportInfos(String episodeId);
    Integer isEval(@Param("map") Map<String, Object> map);
    Map<String, String> evalInfo(@Param("map") Map<String, Object> map);
    Map<String, String> contraindicationInfo(@Param("map") Map<String, Object> map);
    Integer isOrder(@Param("map") Map<String, Object> map);
    Integer isLab(@Param("map") Map<String, Object> map);
    Integer isExam(@Param("map") Map<String, Object> map);
    Integer isNursing(@Param("map") Map<String, Object> map);

    Long selectQcentityIdByName(@Param("name") String name);

    List<SdsQcentityEntityDto> selectQcentityEntity();

    Long selectRecommendTypeByName(@Param("type") String type, @Param("name") String name);
}
